package interfas;

import model.EntityClassDAO;

import org.mybeans.dao.DAOException;

import databeans.Entity;

public interface EntityInterface {

	public abstract void create(Entity e, EntityClassDAO ecDAO) throws DAOException;
	public abstract Entity lookup(int eid) throws DAOException;
	public abstract Entity[] getEntityByEcid(int ecid) throws DAOException;
	public abstract Entity[] getEntityByName(String name) throws DAOException;
	public abstract int size() throws DAOException;
	
}
